package com.wang.pojo;

public class Wife {

    private Integer id;
    private String wifeName;
    private Integer age;


    public Wife(Integer id, String wifeName, Integer age) {
        this.id = id;
        this.wifeName = wifeName;
        this.age = age;
    }

    public Wife() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getWifeName() {
        return wifeName;
    }

    public void setWifeName(String wifeName) {
        this.wifeName = wifeName;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "Wife{" +
                "id=" + id +
                ", wifeName='" + wifeName + '\'' +
                ", age=" + age +
                '}';
    }
}
